package com.yl.auth.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yl.auth.entity.XinzimingxiBean;
import com.yl.auth.mapper.XinzimingxiMapper;
import com.yl.auth.service.XinzimingxiService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class XinzimingxiServiceImpl extends ServiceImpl<XinzimingxiMapper, XinzimingxiBean> implements XinzimingxiService {
    @Resource
    private XinzimingxiMapper xinzimingxiMapper;

    @Override
    public List<XinzimingxiBean> getAll(Long id) {
        return xinzimingxiMapper.getAll(id);
    }

    @Override
    public XinzimingxiBean getXinzi(Long id) {
        return xinzimingxiMapper.getXinzi(id);
    }
}


